//
//  NSMutableAttributedString+FQ.m
//  JGRider
//
//  Created by faqiang feng on 2018/3/2.
//  Copyright © 2018年 ffq. All rights reserved.
//

#import "NSMutableAttributedString+FQ.h"

@implementation NSMutableAttributedString (FQ)
+(NSMutableAttributedString *)changeTitle:(NSString *)curTitle color:(UIColor*)color
{
    NSMutableAttributedString *title = [[NSMutableAttributedString alloc] initWithString:curTitle ?: @""];
    
    [title addAttribute:NSForegroundColorAttributeName value:HEXCOLOR(0x404040) range:NSMakeRange(0, title.length)];
    
    [title addAttribute:NSFontAttributeName value:[UIFont boldSystemFontOfSize:18] range:NSMakeRange(0, title.length)];
    
    return title;
}
@end
